package avicit.bdp.dds.remote.command;import avicit.bdp.dds.remote.utils.FastJsonSerializer;import java.io.Serializable;/** *  kill task request command */public class TaskKillRequestCommand implements Serializable {    /**     *  task id     */    private String taskInstanceId;    public String getTaskInstanceId() {        return taskInstanceId;    }    public void setTaskInstanceId(String taskInstanceId) {        this.taskInstanceId = taskInstanceId;    }    /**     *  package request command     *     * @return command     */    public Command convert2Command(){        Command command = new Command();        command.setType(CommandType.TASK_KILL_REQUEST);        byte[] body = FastJsonSerializer.serialize(this);        command.setBody(body);        return command;    }    @Override    public String toString() {        return "TaskKillRequestCommand{" +                "taskInstanceId='" + taskInstanceId + '\'' +                '}';    }}